require(['./config'], () => {
    require(['swiper','header','banner','footer'], (Swiper) => {
        class Index{
            constructor () {
                this.banner()
            }
            banner () {
                new Swiper('.swiper-container', {
                    loop:true,
                    autoplay:{
                        autoplay:true,
                    } 
                })
            }
        }
        new Index()
    })
})